package com.weakteam.orderonline.dataresource.dao;

import com.weakteam.orderonline.dataresource.domain.Menu;

import java.util.List;

/**
 * @author Nail
 */
public interface MenuDAO {

    public List<Menu> getAll();

    public List<Menu> getAllEnabled();

    public Menu getById(Integer id);

    public void save(Menu menu);

    public boolean delete(Integer id);

    public Integer getMaxOrder();

    public List<String> getImageFileList();

    public List<String> getIcoFileList();

    public List<String> getEnabledImageFileList();

    public List<String> getEnabledIcoFileList();

}
